From 9c48b89818c4f0ac12bba289769e452a4f345e70 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 31 Aug 2004 20:46:41 +0000 Subject: [PATCH] Can't use VLA's in C89. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@886 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gpilots.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/gpilots.c b/gpsbabel/gpilots.c index 8847a81d6..27824e5e6 100644 --- a/gpsbabel/gpilots.c +++ b/gpsbabel/gpilots.c @@ -74,7 +74,7 @@ typedef struct /* size */ float dist; /* proximity distance in meters 4 */ char state[2]; /* state 2 */ char cc[2]; /* country code 2 */ - char varlenstrs[]; /* start of variable length strings */ + char varlenstrs[1]; /* start of variable length strings */ /* G_char ident[]; variable length string 1-51 */ /* G_char comment[]; waypoint user comment 1-51 */ /* G_char facility[]; facility name 1-31 */ -- 2.30.2